package com.yiibai.tutorial.javabasic.variable;

class A {
	A() {
		System.out.println("parent class constructor invoked");
	}
}

public class B2 extends A {
	B2() {
		super();
		System.out.println("child class constructor invoked");
	}

	{
		System.out.println("instance initializer block is invoked");
	}

	public static void main(String args[]) {
		B2 b = new B2();
	}
}
